package com.bringway.global.service;

import java.util.Collection;

import com.bringway.framework.domain.SysAttechment;

import net.sf.json.JSONObject;

public interface SysAttechmentService {
	public Long createSysAttechment(SysAttechment sysAttechment);
	public Collection listAllAttByBizId(String bizId);
	public Collection listAllAttByBizId(Long bizId,String item);
	public SysAttechment getSysAttechment(String id);
	public SysAttechment getSysAttechmentByFileName(String fileName);
	//在交接班中使用，将上个班次的记录拷贝到当前班次
	public void copySyaAttechment(Long bizId,Long beforeBizId);
	public void delAttByFileName(String fileName);
	
	public Collection listAllAtt(JSONObject params);
	public int getAllAtt(JSONObject params);
}
